<?php
$start = microtime();
$start_memory = memory_get_usage();
header("Content-type: text/html; charset=utf-8");
require_once(FRAMEWORK_PATH . 'bootstrap.php');
session_start();
if (@sizeof($argv) > 2) {
    $_SESSION['argv'] = $argv;
}
define("APP", "vr_crm");
define("TEMPLATE", SITE_URL . APP . SEPARATE . 'View' . SEPARATE . 'template' . SEPARATE);
define("RESOURCE", SITE_URL . APP . SEPARATE . 'View' . SEPARATE . 'resource' . SEPARATE);
define("DEFAULT_THEME", 'default');
Bootstrap::run();
$end_memory = memory_get_usage();
$end = microtime();
//echo "<br/>time:".round(($end-$start),8)."s";
//echo "<br/>memery:".round(($end_memory-$start_memory)/1024,6)."kb";
